package com.gltqe.dict;

import com.gltqe.config.Handle;

/**
 * @author gltqe
 * @date 2023/6/16 9:46
 */
public interface DictHandle extends Handle {
    /**
     * 获取字典内容
     *
     * @param dict       字典注解
     * @param fieldValue 字段值
     * @return: java.lang.Object
     * @author gltqe
     * @date 2023/6/16 14:54
     **/
    Object getDictContent(Dict dict, String fieldValue);

    /**
     * 获取后缀
     *
     * @return: java.lang.String
     * @author gltqe
     * @date 2023/6/16 14:55
     **/
    default String getSuffix() {
        return "_Dict";
    }
}
